<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title>Manager Panel</title>
	
	<%@include file="headerLink.jsp" %>
</head>


<body>
	<%
		if(session.getAttribute("user") != null) {
	%>
	
	<jsp:include page="header.jsp"></jsp:include>
	
	<jsp:include page="menu.jsp"></jsp:include>
	
	<section id="main" class="column">	
		<jsp:include page="defaultConten.html"></jsp:include>
	</section>
	<%
		} else {
	%>
		<script type="text/javascript">
			$.confirm({
		        'title': 'Not Authorized',
		        'message': 'You need to login first!!',
		        'buttons': {
		            'OK': {
		                'class': 'blue',
		                'action': function () {
		                	window.location.href="./../user_login.jsp";
		                }
	
		            }
		        }
		    });
		</script>
	<%
		}
	
	%>
</body>

</html>